<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html> 
	<head>
		<title>Login</title>
		<logic:notPresent name="back">
        	<link href="login.css" rel="stylesheet" type="text/css">
        </logic:notPresent>
        <logic:present name="back">
        	<link href="form/login.css" rel="stylesheet" type="text/css">
        </logic:present>
	</head>
	<body>
		<div class="container">
			<div class="header">
				<html:img page="/yssz.jpg"/>
			</div>
			<div class="content">
				<h1>Login</h1>
				<p>
					<html:form action="/login">
						name : <html:text property="name"/><html:errors property="name"/><br/>
						password : <html:password property="password"/><html:errors property="password"/><br/>
						<html:submit/><html:cancel/>
					</html:form>
				</p>
			</div>
			<div class="footer">
				<p>copyright@yssz</p>
			</div>
		</div>
	</body>
</html>

